<?php
/*<!-- ----------------------------------------------------|
| 														   |
|                                                          |
|		  ()                                               |
|		  /\          _   _ _|_                            |
|		 /  \|  |  |_|/  |/  |  |   |                      |
|		/(__/ \/ \/  |__/|__/|_/ \_/|/ v 1.0               |
|          Boris Tronquoy          /|                      | 
|          Rezan Selvanayagam      \|                      |
-------------------------------------------------------- -*/
$PARAM_hote='localhost';
$PARAM_port='3306';
$PARAM_dbname='site';
$PARAM_user='root';
$PARAM_password='';
// TRY TO CONNECT DATABASE
try
{
	$connexion = new PDO('mysql:host='.$PARAM_hote.';port='.$PARAM_port.';dbname='.$PARAM_dbname, $PARAM_user, $PARAM_password);
}
catch(Exception $e) //DISPLAY ERRORS CODE
{
		echo 'Erreur de connection !<br />';
		echo 'Erreur : '.$e->getMessage().'<br />';
        echo 'N° : '.$e->getCode();
}

?>
